<template>
  <img alt="Vue logo" src="./assets/logo.png" />
  <h1 class="vlovev"> EDU_VLOVEV_CN </h1>
  <HelloWorld msg="Hello Vue 3 + TypeScript + Vite" />
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import './assets/vlovev-demo01.css'
import relatives from '@/assets/vlovev_relatives_enum.json'
import HelloWorld from '@/components/HelloWorld.vue'
// import HelloWorld from './components/HelloWorld.vue'
// import HelloWorld from 'components/HelloWorld.vue'
const edu_vlovev_cn:string = '唯爱薇o朝圣之路'

export default defineComponent({
  name: 'App',
  components: {
    HelloWorld
  },
  mounted(){
    console.log(edu_vlovev_cn)
    console.log("===========")
    console.log(relatives.family.clusterName)
    console.log(relatives.members[0].name)
    console.log(relatives.members[0].email)
    console.log(relatives.members[0].telephone)
    console.log("===========")
    console.log(relatives.members[1].name)
    console.log(relatives.members[1].email)
    console.log(relatives.members[1].telephone)
  },
  methods: {
    echoTitle(){
      alert(edu_vlovev_cn)
    }
  }
})
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>

<style lang="scss">
  .vlovev {
    color: red;
  }

</style>
